package com.thomasmoerman.autoproxy.frw

class Jazzy {

  def jazzy = println("jazzy")

}

class Pimped(val r: AnyRef)

class Context(val j: Jazzy) {

  implicit def pimp(j: Jazzy) = new Pimped(j) with Funky

  def realFunky = println("real funky")

  trait Funky {
    def funky = realFunky
  }

  def execute {
    j.jazzy
    j.funky
  }

}

object ImplicitConversionTest extends Application {

  new Context(new Jazzy).execute
  
}